//
//  RMPApVodPlayer.h
//  rmplayer
//
//  Created by jelin on 2023/9/19.
//

#import <UIKit/UIKit.h>
#import "RMPlayerDelegate.h"


RTC_OBJC_EXPORT
@interface RMPApVodPlayer : NSObject

@property(nonatomic, weak) id<RMPlayerDelegate> delegate;

- (UIView *)playerView;

- (BOOL)setRangeStartSec:(long)startSec endSec:(long)endSec;

- (BOOL)muteRemoteAudio:(BOOL)mute;

- (BOOL)start;

- (void)stop;

- (BOOL)snapshot:(NSString *)path;

- (BOOL)startFileRecording:(NSString *)path;

- (BOOL)stopFileRecording;

- (long)getFileRecordingDuration;

- (void)pause;

- (void)resume;

- (void)seek:(long)offsetSec;

- (void)setPlaybackSpeed:(int)speed;

@end
